package service.impl;

import dao.OrderDao;
import dao.impl.OrderDaoImpl;
import pojo.Order;
import service.OrderManager;

public enum OrderManagerFactory implements OrderManager {
	INSTANCE;
	
	private OrderDao orderDao = new OrderDaoImpl();

	@Override
	public int addOrder(Order o) {
		return orderDao.add(o);
	}

}
